package org.example.dao.entity.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.A;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ULabel {

    private Long id;

    private String name;

    private String background;

    private Date createTime = new Date();

    private Date updateTime = new Date();

    private Integer isValid = 1;


    public ULabel(Long nextId, String name, String background) {
        this.id = nextId;
        this.name = name;
        this.background = background;
    }

    public ULabel(String name,String background){
        this.name = name;
        this.background = background;
    }
}
